package com.example.palette.start;

import java.util.List;
import java.util.Map;

public class StartTaskCenter {

    private List<IStartTask<?>> sortResult;
    private Map<Class<? extends IStartTask>, IStartTask> startTask;
    private Map<Class<? extends IStartTask>, List<Class<? extends IStartTask>>> startTaskDepends;

    public StartTaskCenter(List<IStartTask<?>> sortList, Map<Class<? extends IStartTask>, IStartTask> srcMap, Map<Class<? extends IStartTask>, List<Class<? extends IStartTask>>> srcDepends) {
        sortResult = sortList;
        startTask = srcMap;
        startTaskDepends = srcDepends;
    }

    public List<IStartTask<?>> getSortResult() {
        return sortResult;
    }

    public void setSortResult(List<IStartTask<?>> sortResult) {
        this.sortResult = sortResult;
    }

    public Map<Class<? extends IStartTask>, IStartTask> getStartTask() {
        return startTask;
    }

    public void setStartTask(Map<Class<? extends IStartTask>, IStartTask> startTask) {
        this.startTask = startTask;
    }

    public Map<Class<? extends IStartTask>, List<Class<? extends IStartTask>>> getStartTaskDepends() {
        return startTaskDepends;
    }

    public void setStartTaskDepends(Map<Class<? extends IStartTask>, List<Class<? extends IStartTask>>> startTaskDepends) {
        this.startTaskDepends = startTaskDepends;
    }
}
